/*
   OpenZone2, Everquest 2 data editor
   Copyright (C) 2008  Andrew Fenn
    
	OpenZone2 is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.

   OpenZone2 is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with OpenZone2.  If not, see <http://www.gnu.org/licenses/>.
*/


#include "OZContentMgr.h"
#include "3dViewer.h"


int main(int argc, char** argv) {

	OzContentMgr l_contentManager; // open zone 2 content manager

	if (!argv[1]) {
		std::cout << "Must give a file" << std::endl;
		return 0;
	}

	OZ2File data;
	if (l_contentManager.loadEQ2File(argv[1], data)) {
	
	//	OZ2Viewer viewer;
	//	viewer.showFile(data);
	
	} else {
		std::cout << "File failed to load." << std::endl;
	}
	
	return 0;
}
